import request from '@/utils/request'

// 查询关注管理列表
export function listByFollowerId(userId,query) {
  return request({
    url: '/ai/follow/listByFollowerId/'+userId,
    method: 'get',
    params: query
  })
}

export function listByFolloweeId(userId,query) {
  return request({
    url: '/ai/follow/listByFolloweeId/'+userId,
    method: 'get',
    params: query
  })
}

// 新增关注管理+
export function addFollow(data) {
  return request({
    url: '/ai/follow',
    method: 'post',
    data: data
  })
}


// 删除关注管理
export function delFollow(data) {
  return request({
    url: '/ai/follow',
    method: 'delete',
    data: data
  })
}
